package org.jeecg.trace.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ProductionTraceDTO implements Serializable {
    @ExcelProperty("产线")
    @ColumnWidth(15)
    private String line;
    @ExcelProperty("工位")
    @ColumnWidth(15)
    private String op;
    @ExcelProperty("工单号")
    @ColumnWidth(15)
    private String woid;
    @ExcelProperty("产品")
    @ColumnWidth(15)
    private String partno;
    @ExcelProperty("检测结果")
    @ColumnWidth(15)
    private String result;
    @ExcelProperty("序列号")
    @ColumnWidth(15)
    private String unitsn;
    @ExcelProperty("管体编码")
    @ColumnWidth(15)
    private String semiProducts;
    @ExcelProperty("产品编号")
    @ColumnWidth(15)
    private String products;
    @ExcelProperty("检测值")
    @ColumnWidth(15)
    private BigDecimal value;
    @ExcelProperty("参数结果")
    @ColumnWidth(15)
    private String status;
    @ExcelProperty("检验时间")
    @ColumnWidth(15)
    private String ctime;
    @ExcelProperty("检验内容")
    @ColumnWidth(15)
    private String description;
}
